package com.hsjk.szwj.module.smedia.convert.mediaUpload;

import com.aliyun.ice20201109.models.CreateUploadStreamResponseBody;
import com.aliyun.ice20201109.models.RegisterMediaStreamResponseBody;
import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.CreateUploadStreamRespVO;
import com.hsjk.szwj.module.smedia.controller.admin.mediaUpload.vo.RegisterMediaStreamRespVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/07/23 19:30
 **/
@Mapper
public interface MediaUploadConvert {
    MediaUploadConvert INSTANCE = Mappers.getMapper(MediaUploadConvert.class);

    CreateUploadStreamRespVO convertCreateUploadStreamRespVO(CreateUploadStreamResponseBody responseBody);

    RegisterMediaStreamRespVO convertRegisterMediaStreamRespVO(RegisterMediaStreamResponseBody responseBody);
}
